Optimal. Leaf size=252 \[ \frac{\left (a^2 c d-a b (b d+2 c e)+b^3 e\right ) \log \left (a x^2+b x+c\right )}{2 c^3 \left (a d^2-e (b d-c e)\right )}-\frac{\left (a^2 c (3 b d+2 c e)-a b^2 (b d+4 c e)+b^4 e\right ) \tanh ^{-1}\left (\frac{2 a x+b}{\sqrt{b^2-4 a c}}\right )}{c^3 \sqrt{b^2-4 a c} \left (a d^2-e (b d-c e)\right )}+\frac{\log (x) \left (-c \left (a d^2-c e^2\right )+b^2 d^2+b c d e\right )}{c^3 d^3}-\frac{e^4 \log (d+e x)}{d^3 \left (a d^2-e (b d-c e)\right )}+\frac{b d+c e}{c^2 d^2 x}-\frac{1}{2 c d x^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.912672, antiderivative size = 252, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24 \[ \frac{\left (a^2 c d-a b (b d+2 c e)+b^3 e\right ) \log \left (a x^2+b x+c\right )}{2 c^3 \left (a d^2-e (b d-c e)\right )}-\frac{\left (a^2 c (3 b d+2 c e)-a b^2 (b d+4 c e)+b^4 e\right ) \tanh ^{-1}\left (\frac{2 a x+b}{\sqrt{b^2-4 a c}}\right )}{c^3 \sqrt{b^2-4 a c} \left (a d^2-e (b d-c e)\right )}+\frac{\log (x) \left (-c \left (a d^2-c e^2\right )+b^2 d^2+b c d e\right )}{c^3 d^3}-\frac{e^4 \log (d+e x)}{d^3 \left (a d^2-e (b d-c e)\right )}+\frac{b d+c e}{c^2 d^2 x}-\frac{1}{2 c d x^2} \]
Antiderivative was successfully verified.
[In] Int[1/((a + c/x^2 + b/x)*x^5*(d + e*x)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a+c/x**2+b/x)/x**5/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.376587, size = 252, normalized size = 1. \[ \frac{\left (a^2 c d-a b (b d+2 c e)+b^3 e\right ) \log (x (a x+b)+c)}{2 c^3 \left (a d^2+e (c e-b d)\right )}-\frac{\left (a^2 c (3 b d+2 c e)-a b^2 (b d+4 c e)+b^4 e\right ) \tan ^{-1}\left (\frac{2 a x+b}{\sqrt{4 a c-b^2}}\right )}{c^3 \sqrt{4 a c-b^2} \left (e (b d-c e)-a d^2\right )}+\frac{\log (x) \left (c \left (c e^2-a d^2\right )+b^2 d^2+b c d e\right )}{c^3 d^3}-\frac{e^4 \log (d+e x)}{a d^5+d^3 e (c e-b d)}+\frac{b d+c e}{c^2 d^2 x}-\frac{1}{2 c d x^2} \]
Antiderivative was successfully verified.
[In] Integrate[1/((a + c/x^2 + b/x)*x^5*(d + e*x)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.018, size = 562, normalized size = 2.2 \[ -{\frac{1}{2\,cd{x}^{2}}}+{\frac{b}{{c}^{2}xd}}+{\frac{e}{cx{d}^{2}}}-{\frac{\ln \left ( x \right ) a}{{c}^{2}d}}+{\frac{\ln \left ( x \right ){b}^{2}}{d{c}^{3}}}+{\frac{\ln \left ( x \right ) be}{{c}^{2}{d}^{2}}}+{\frac{\ln \left ( x \right ){e}^{2}}{c{d}^{3}}}-{\frac{{e}^{4}\ln \left ( ex+d \right ) }{{d}^{3} \left ( a{d}^{2}-bde+{e}^{2}c \right ) }}+{\frac{{a}^{2}\ln \left ( a{x}^{2}+bx+c \right ) d}{ \left ( 2\,a{d}^{2}-2\,bde+2\,{e}^{2}c \right ){c}^{2}}}-{\frac{a\ln \left ( a{x}^{2}+bx+c \right ){b}^{2}d}{ \left ( 2\,a{d}^{2}-2\,bde+2\,{e}^{2}c \right ){c}^{3}}}-{\frac{a\ln \left ( a{x}^{2}+bx+c \right ) be}{ \left ( a{d}^{2}-bde+{e}^{2}c \right ){c}^{2}}}+{\frac{\ln \left ( a{x}^{2}+bx+c \right ){b}^{3}e}{ \left ( 2\,a{d}^{2}-2\,bde+2\,{e}^{2}c \right ){c}^{3}}}+3\,{\frac{{a}^{2}bd}{ \left ( a{d}^{2}-bde+{e}^{2}c \right ){c}^{2}\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,ax+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+2\,{\frac{{a}^{2}e}{ \left ( a{d}^{2}-bde+{e}^{2}c \right ) c\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,ax+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }-{\frac{a{b}^{3}d}{ \left ( a{d}^{2}-bde+{e}^{2}c \right ){c}^{3}}\arctan \left ({(2\,ax+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}}-4\,{\frac{a{b}^{2}e}{ \left ( a{d}^{2}-bde+{e}^{2}c \right ){c}^{2}\sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,ax+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+{\frac{{b}^{4}e}{ \left ( a{d}^{2}-bde+{e}^{2}c \right ){c}^{3}}\arctan \left ({(2\,ax+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a+c/x^2+b/x)/x^5/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((e*x + d)*(a + b/x + c/x^2)*x^5),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((e*x + d)*(a + b/x + c/x^2)*x^5),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a+c/x**2+b/x)/x**5/(e*x+d),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.300104, size = 377, normalized size = 1.5 \[ -\frac{{\left (a b^{2} d - a^{2} c d - b^{3} e + 2 \, a b c e\right )}{\rm ln}\left (a x^{2} + b x + c\right )}{2 \,{\left (a c^{3} d^{2} - b c^{3} d e + c^{4} e^{2}\right )}} - \frac{e^{5}{\rm ln}\left ({\left | x e + d \right |}\right )}{a d^{5} e - b d^{4} e^{2} + c d^{3} e^{3}} - \frac{{\left (a b^{3} d - 3 \, a^{2} b c d - b^{4} e + 4 \, a b^{2} c e - 2 \, a^{2} c^{2} e\right )} \arctan \left (\frac{2 \, a x + b}{\sqrt{-b^{2} + 4 \, a c}}\right )}{{\left (a c^{3} d^{2} - b c^{3} d e + c^{4} e^{2}\right )} \sqrt{-b^{2} + 4 \, a c}} + \frac{{\left (b^{2} d^{2} - a c d^{2} + b c d e + c^{2} e^{2}\right )}{\rm ln}\left ({\left | x \right |}\right )}{c^{3} d^{3}} - \frac{c^{2} d^{2} - 2 \,{\left (b c d^{2} + c^{2} d e\right )} x}{2 \, c^{3} d^{3} x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((e*x + d)*(a + b/x + c/x^2)*x^5),x, algorithm="giac")
[Out]